package com.jinzhi.jzweb.dao;

import com.jinzhi.jzapi.domain.UserDO;
import com.jinzhi.jzweb.domain.JazGroupActivityDO;
import com.jinzhi.common.base.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * <pre>
 * 团购活动拼团表
 * </pre>
 * <small> 2024-05-11 13:54:15 | Long</small>
 */
public interface JazGroupActivityDao extends BaseDao<JazGroupActivityDO> {

    Long getGroupActivityIdByUserIdGropProdId(@Param("userId") Long userId, @Param("groupProdId") Long groupProdId);

    List<UserDO> getUserByActivityId(Long activityId);
}
